﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ReplaceCsv.WallLogParser
{
    /// <summary>
    /// ジエスタログ解析結果情報の保存beanクラス
    /// </summary>
    class GiestaInfoBean
    {
        //データ項目
        private string _dataKind;
        public string dataKind
        {
            get {  return _dataKind == null ? "" : _dataKind ;}
        }
        //情報の種類のリスト項目
        private List<string> _infomation;
        public string getInfomation(int col)
        {
            if(_infomation.Count <=  col) return "";
            return _infomation[col] == null ? "" : _infomation[col];
        }
        internal GiestaInfoBean(string kind, List<string> info)
        {
            this._dataKind = kind;
            this._infomation = info;
        }
    }
}
